/**
 * Copyright(c) 2013 Jade Techonologies Co., Ltd.
 *
 * History:
 *   14-8-4 下午12:12 Created by dwzhang
 */
package com.jade.framework.mom;

import com.jade.framework.base.ErrorConstants;

/**
 * 常量定义。
 *
 * @author dwzhang
 * @version 1.0 14-8-4 下午12:12
 */
public final class MomConstants
        implements ErrorConstants
{
    public static final int DELAY_LEVEL_1S = 1;
    public static final int DELAY_LEVEL_5S = 2;
    public static final int DELAY_LEVEL_10S = 3;
    public static final int DELAY_LEVEL_30S = 4;
    public static final int DELAY_LEVEL_1M = 5;
    public static final int DELAY_LEVEL_2M = 6;
    public static final int DELAY_LEVEL_3M = 7;
    public static final int DELAY_LEVEL_4M = 8;
    public static final int DELAY_LEVEL_5M = 9;
    public static final int DELAY_LEVEL_6M = 10;
    public static final int DELAY_LEVEL_7M = 11;
    public static final int DELAY_LEVEL_8M = 12;
    public static final int DELAY_LEVEL_9M = 13;
    public static final int DELAY_LEVEL_10M = 14;
    public static final int DELAY_LEVEL_20M = 15;
    public static final int DELAY_LEVEL_30M = 16;
    public static final int DELAY_LEVEL_1H = 17;
    public static final int DELAY_LEVEL_2H = 18;

    public static final String USER_PROPERTY_PREFIX = "USER_";

    public static final String ERR_NO_PRODUCER = "err.common.mom.no_producer";
    public static final String ERR_NO_CONSUMER = "err.common.mom.no_consumer";
    public static final String ERR_NO_BROWSER = "err.common.mom.no_browser";
    public static final String ERR_CLIENT = "err.common.mom.client";
    public static final String ERR_REMOTING = "err.common.mom.remoting";
    public static final String ERR_PRODUCER_NOT_STARTED = "err.common.mom.producer_not_started";

}
